package com.mvc4g.test.client.view;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.LazyPanel;
import com.google.gwt.user.client.ui.Widget;
import com.mvc4g.client.Controller;
import com.mvc4g.client.ViewInterface;

public class PageView extends LazyPanel implements ViewInterface {
	
	
	private int number = 0;
	
	public PageView(int number){
		this.number = number;
	}
	
	
	@Override
	protected Widget createWidget() {
		return new Label("Page " + number);
	}
	
	

	@Override
	public void setController(Controller controller) {
		// TODO Auto-generated method stub

	}

}
